<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-10-28 17:28:36
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\search\index.html" */ ?>
<?php /*%%SmartyHeaderCode:17930561cb442b6d260-40177669%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '104424d97c9d20c13aeccf2b0a8ab2a3d5d568ba' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\search\\index.html',
      1 => 1446024513,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17930561cb442b6d260-40177669',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_561cb442e0aea9_34399598',
  'variables' => 
  array (
    'orderByPrice' => 0,
    'orderbyNum' => 0,
    'data' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_561cb442e0aea9_34399598')) {function content_561cb442e0aea9_34399598($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headersearch.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->

<?php echo '<script'; ?>
 type="text/javascript">
    $(function(){
            var aDent = true;
            var oParent = $('.list-bar');
            var oNodeContent = $('.list-menu');
            oParent.click(function(){
                    if(aDent){
                            oNodeContent.stop().slideDown(500);
                    }else{
                            oNodeContent.stop().slideUp(500);
                    }
                    aDent = !aDent;
            });
        });
<?php echo '</script'; ?>
>

<section class="list-menu" style="display:none;">
    <ul>
            <li>
            <a href="#">
                    <span class="me1-icon mi"></span>
                    <span class="mname">HDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me2-icon mi"></span>
                    <span class="mname">LDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me3-icon mi"></span>
                    <span class="mname">LLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me4-icon mi"></span>
                    <span class="mname">PP</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me5-icon mi"></span>
                    <span class="mname">MLLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
    </ul>
</section>


<?php echo '<script'; ?>
 type="text/javascript">
    $(function(){
        var iNow = true;
        $('.list-filter-m .sort').click(function(){
            if(iNow){
                $(this).addClass('curr');
            }else{
                $(this).removeClass('curr');
            }
            iNow =!iNow;
        });
    });

    $(function(){
        $('.ssw_tab tr').click(function(){
            window.location.href=$(this).attr('href');
        });
    });

    $(function(){
        $('.list-filter-c-category li').click(function(){
            oIndex = $(this).index();
            $('.categories').show();
            $('.layer-mask').show();
            $('.categories>ul').eq(oIndex).show().siblings().hide();
            $('.categories').animate({right:'0'},500);
            $('.wrap').animate({marginLeft:'-50%'},500);
        });

        $('.categories li').click(function(){
            var aText = $(this).text();
            var aIndex= $(this).parents('ul').attr('num');
            $('.categories').animate({right:'-50%'},500);
            $('.wrap').animate({marginLeft:'0'},500,function(){
                $('.list-filter-c-category li').eq(aIndex).find('span').text(aText);
                $('.layer-mask').hide();
                $('.categories').hide();
            });
        });
    });
<?php echo '</script'; ?>
>


<section class="wrap" style="padding-top:48px;padding-bottom:60px;">

    <!--content stop-->

    <section class="list-filter">

        <!--<ul class="list-filter-m">-->
            <!--<li><a href="/price/index"><span>默认</span></a></li>-->

            <!--<?php if ($_smarty_tpl->tpl_vars['orderByPrice']->value=='ASC') {?>-->
            <!--<li><a href="/price/index/orderByPrice/DESC"><span class="sort">价格</span></a></li>-->
            <!--<?php } else { ?>-->
            <!--<li><a href="/price/index/orderByPrice/ASC"><span class="curr">价格</span></a></li>-->
            <!--<?php }?>-->

            <!--<?php if ($_smarty_tpl->tpl_vars['orderbyNum']->value=='ASC') {?>-->
            <!--<li><a href="/price/index/orderbyNum/DESC"><span class="sort">数量</span></a></li>-->
            <!--<?php } else { ?>-->
            <!--<li><a href="/price/index/orderbyNum/ASC"><span class="curr">数量</span></a></li>-->
            <!--<?php }?>-->


            <!--<li><a href="/price/select"><span>筛选</span></a></li>-->
        <!--</ul>-->


        <section class="hot-commodity">
            <div style="width:100%;" id="swiper-container3" class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <table class="ssw_tab">
                            <tr>
                                <th class="gb">牌号</th>
                                <th class="gb">厂商</th>
                                <th class="gb">单价</th>
                                <th class="gb">更新时间</th>
                                <th class="gb"></th>
                            </tr>
                            <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
                            <tr <?php if ($_smarty_tpl->tpl_vars['item']->value['data_type']==1) {?>href="/price/detail/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" <?php } else { ?>href="/supply/detail/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"<?php }?>>
                                <td width="60"><p class="ptm1"><?php echo $_smarty_tpl->tpl_vars['item']->value['product_name'];?>
</p></td>
                                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['brand_name'];?>
</td>
                                <td class="orange"><?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['create_time'];?>
</td>
                                <td><img src="/images/icons5.png" width="50%"/></td>
                            </tr>
                            <?php } ?>
                        </table>
                    </div>

                </div>
            </div>

        </section>



    </section>

    <!--content end-->


    <?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/footerlogin.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


</section>

<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
